package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfRechargeDao;
import com.wfcm.entity.WfRechargeEntity;
import com.wfcm.service.WfRechargeService;



@Service("wfRechargeService")
public class WfRechargeServiceImpl implements WfRechargeService {
	@Autowired
	private WfRechargeDao wfRechargeDao;
	
	@Override
	public WfRechargeEntity queryObject(Integer id){
		return wfRechargeDao.queryObject(id);
	}

	@Override
	public WfRechargeEntity queryByValue(Integer value){
		return wfRechargeDao.queryByValue(value);
	}

	@Override
	public List<WfRechargeEntity> queryList(Map<String, Object> map){
		return wfRechargeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfRechargeDao.queryTotal(map);
	}
	
	@Override
	public void save(WfRechargeEntity wfRecharge){
		wfRechargeDao.save(wfRecharge);
	}
	
	@Override
	public void update(WfRechargeEntity wfRecharge){
		wfRechargeDao.update(wfRecharge);
	}
	
	@Override
	public void delete(Integer id){
		wfRechargeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfRechargeDao.deleteBatch(ids);
	}
	
}
